package com.cx.testproject.api.baseapi.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import com.cx.testproject.api.baseapi.model.*;
import com.alibaba.fastjson.JSONObject;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;

@Api(tags = {"Users" }, description = "用户信息")
@RestController
@RequestMapping("/baseapi/users")
public class UsersResource {

	@ApiOperation(value = "Remove", tags = {"Users" },  notes = "Remove")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}")
	public Users RemoveUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "Create", tags = {"Users" },  notes = "Create")
    @RequestMapping(method= RequestMethod.POST , value="")
	public Users CreateUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "Get", tags = {"Users" },  notes = "Get")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}")
	public Users GetUser(@PathVariable String userid) {
		return null ;
	}
	

	@ApiOperation(value = "Update", tags = {"Users" },  notes = "Update")
    @RequestMapping(method= RequestMethod.PUT , value="/{userid}")
	public Users UpdateUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "CheckKey", tags = {"Users" },  notes = "CheckKey")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/checkkey")
	public Users CheckKeyUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "刷新", tags = {"Users" },  notes = "刷新")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/refresh")
	public Users RefreshUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "GetDraft", tags = {"Users" },  notes = "GetDraft")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}/getdraft")
	public Users GetDraftUser(@PathVariable String userid) {
		return null ;
	}
	

	@ApiOperation(value = "Save", tags = {"Users" },  notes = "Save")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/save")
	public Users SaveUser(@PathVariable String userid/*,@RequestBody Users user*/) {
		return null ;
	}
	

	@ApiOperation(value = "获取无效用户", tags = {"Users" } ,notes = "获取无效用户")
    @RequestMapping(method= RequestMethod.POST , value="/search-disable")
	public List<Users> searchUserDisable () {
		return null ;
	}
	

	@ApiOperation(value = "获取DEFAULT", tags = {"Users" } ,notes = "获取DEFAULT")
    @RequestMapping(method= RequestMethod.POST , value="/search")
	public List<Users> searchUser () {
		return null ;
	}
	

	@ApiOperation(value = "Save", tags = {"Users" },  notes = "Save")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/save")
	public BaseAccounts SaveAccount(@PathVariable String userid,@PathVariable String accountid/*,@RequestBody BaseAccounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Remove", tags = {"Users" },  notes = "Remove")
    @RequestMapping(method= RequestMethod.DELETE , value="/{userid}/baseaccounts/{accountid}")
	public BaseAccounts RemoveAccount(@PathVariable String userid,@PathVariable String accountid/*,@RequestBody BaseAccounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Update", tags = {"Users" },  notes = "Update")
    @RequestMapping(method= RequestMethod.PUT , value="/{userid}/baseaccounts/{accountid}")
	public BaseAccounts UpdateAccount(@PathVariable String userid,@PathVariable String accountid/*,@RequestBody BaseAccounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "CheckKey", tags = {"Users" },  notes = "CheckKey")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/checkkey")
	public BaseAccounts CheckKeyAccount(@PathVariable String userid,@PathVariable String accountid/*,@RequestBody BaseAccounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Create", tags = {"Users" },  notes = "Create")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts")
	public BaseAccounts CreateAccount(@PathVariable String userid,@PathVariable String accountid/*,@RequestBody BaseAccounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Get", tags = {"Users" },  notes = "Get")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}/baseaccounts/{accountid}")
	public BaseAccounts GetAccount(@PathVariable String userid,@PathVariable String accountid) {
		return null ;
	}
	

	@ApiOperation(value = "GetDraft", tags = {"Users" },  notes = "GetDraft")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}/baseaccounts/{accountid}/getdraft")
	public BaseAccounts GetDraftAccount(@PathVariable String userid,@PathVariable String accountid) {
		return null ;
	}
	

	@ApiOperation(value = "获取DEFAULT", tags = {"Users" } ,notes = "获取DEFAULT")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/search")
	public List<BaseAccounts> searchAccount () {
		return null ;
	}
	

	@ApiOperation(value = "CheckKey", tags = {"Users" },  notes = "CheckKey")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}/checkkey")
	public Infos CheckKeyInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid/*,@RequestBody Infos info*/) {
		return null ;
	}
	

	@ApiOperation(value = "Remove", tags = {"Users" },  notes = "Remove")
    @RequestMapping(method= RequestMethod.DELETE , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}")
	public Infos RemoveInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid/*,@RequestBody Infos info*/) {
		return null ;
	}
	

	@ApiOperation(value = "Save", tags = {"Users" },  notes = "Save")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}/save")
	public Infos SaveInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid/*,@RequestBody Infos info*/) {
		return null ;
	}
	

	@ApiOperation(value = "Get", tags = {"Users" },  notes = "Get")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}")
	public Infos GetInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid) {
		return null ;
	}
	

	@ApiOperation(value = "Update", tags = {"Users" },  notes = "Update")
    @RequestMapping(method= RequestMethod.PUT , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}")
	public Infos UpdateInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid/*,@RequestBody Infos info*/) {
		return null ;
	}
	

	@ApiOperation(value = "GetDraft", tags = {"Users" },  notes = "GetDraft")
    @RequestMapping(method= RequestMethod.GET , value="/{userid}/baseaccounts/{accountid}/infos/{infoid}/getdraft")
	public Infos GetDraftInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid) {
		return null ;
	}
	

	@ApiOperation(value = "Create", tags = {"Users" },  notes = "Create")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/infos")
	public Infos CreateInfo(@PathVariable String userid,@PathVariable String accountid,@PathVariable String infoid/*,@RequestBody Infos info*/) {
		return null ;
	}
	

	@ApiOperation(value = "获取DEFAULT", tags = {"Users" } ,notes = "获取DEFAULT")
    @RequestMapping(method= RequestMethod.POST , value="/{userid}/baseaccounts/{accountid}/infos/search")
	public List<Infos> searchInfo () {
		return null ;
	}
	


}
